<%% @heading = "<%= model_name %>" %>

<div class="conteiner" align="center">
  <div class="bloco">   
    <h1>Cadastrar <%%= @heading %></h1>
    <%%= link_to image_tag("voltar.png")+" Voltar para Listagem", :action => 'index', :page => @page %>
  </div>
  
  <br><br>
  
  <%% form_tag :action => 'inserir<%= controller_class_name %>', :id => @<%= singular_name %>, :page => @page do %>
    <%%= render :partial => 'form<%= controller_class_name %>' %>
    
    <div class="botoesSubmit">
      <%%= submit_tag "Confirmar cadastro" %>
    </div>
  <%% end %>
</div>